<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../myVue/vue.js"></script>
</head>
<body>
    <div id="app">
        <p v-for="item in list">{{item}}</p>
        <br>
        <p v-for="(item,i) in myList">{{item}}====={{i}}</p>
        <br>
        <p v-for="item in myList">{{item.id}}====={{item.name}}</p>
        <br>
        <p v-for="item in myList">学号：{{item.id}}；姓名：{{item.name}}；班级：{{item.class}}；性别：{{item.sex}}；学校：{{item.school}}</p>

    </div>
</body>
<script>
    var vm = new Vue({
        el:"#app",
        data:{
            list:[1,2,3,4,5,],
            myList:[
                {id:202153060541,name:"尹浩刚",class:"软件五班",sex:"男",school:"天津机电职业技术学院"},
            {id:1,name:'zhangsan'},
            {id:2,name:'lisi'},
            {id:3,name:'wangwu'}
        ]
        }
    })
</script>
</html>